package com.vf.admin.client.service.impl;

import com.vf.admin.client.dao.AppSignConfigDao;
import com.vf.admin.client.service.AppSignConfigService;
import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AppSignConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AppSignConfigServiceImpl implements AppSignConfigService {

    @Autowired
    AppSignConfigDao signConfigDao;

    @Override
    public List<AppSignConfig> list() {
        return signConfigDao.list();
    }

    @Override
    public AppSignConfig infoByDay(Integer day) {
        return signConfigDao.infoByDay(day);
    }

    @Override
    public AppSignConfig infoByDayAndId(Integer day, Integer id) {
        return signConfigDao.infoByDayAndId(day, id);
    }

    @Override
    public List<AppSignConfig> findList(SplitPageBean splitPageBean) {
        return signConfigDao.findList(splitPageBean);
    }

    @Override
    public AppSignConfig info(Integer id) {
        return signConfigDao.info(id);
    }

    @Override
    public void update(AppSignConfig param) {
        signConfigDao.update(param);
    }
}
